Managing AutoSupport

AutoSupport is a mechanism that proactively monitors the health of your cluster and automatically sends messages to your internal support organization, NetApp support personnel, or both. To enable and configure AutoSupport, use the system autosupport commands.

Enabling and Configuring AutoSupport

To enable and configure AutoSupport, use the system autosupport modify command. You can use the command to set the following AutoSupport features on a specified node:

  • Whether AutoSupport is enabled or disabled

  • One or more SMTP mail hosts through which the node can send AutoSupport messages

  • The e-mail address from which the node sends AutoSupport messages

  • One or more e-mail addresses to which the node sends AutoSupport messages

  • Whether the node sends AutoSupport messages to NetApp support personnel.

The following example enables AutoSupport on a node named node02. The node uses an SMTP mail host named mailhost.example.com, an e-mail "from" address of alerts@node02.example.com, and an e-mail "to" address of internal_support@example.com. The node also sends AutoSupport messages to NetApp support personnel.

node::> system autosupport modify -node node02 -state enable
-mail-hosts mailhost.example.com -from alerts@node02.example.com
-to internal_support@example.com -support enable

Displaying AutoSupport Settings

To display the AutoSupport configuration for one or more nodes, use the system autosupport show command. The command displays the following information:

  • Node name

  • AutoSupport state (enable or disable)

  • List of mail hosts (detailed view only)

  • E-mail "from" address

  • List of e-mail "to" addresses

  • Whether AutoSupport messages are sent to NetApp support personnel (enable or disable) (detailed view only)

  • External support address (detailed view only)

  • Subject of last AutoSupport message (detailed view only)

  • Date and time of last AutoSupport message (detailed view only)

The following example shows the AutoSupport configuration for a two-node cluster:

node::> system autosupport show
Node                  State     From          To            Mail Hosts
node14                enable    Postmaster    intsup        mailhost
node15                enable    Postmaster    intsup        mailhost

Sending a Test AutoSupport Message

After configuring AutoSupport, you can test the configuration by using the system autosupport invoke command to send a test AutoSupport message. The following example sends a message with the text "ASUP test" from a node named node14:

node::> system autosupport invoke -node node14 -message "ASUP test"